package com.yuexun.beilunpatient.ui.inspect.api;

import com.yuexun.beilunpatient.base.BaseEntity;
import com.yuexun.beilunpatient.ui.inspect.bean.CheckDtlRowSet;
import com.yuexun.beilunpatient.ui.inspect.bean.CheckRowSet;
import com.yuexun.beilunpatient.ui.inspect.bean.JtRmyyCheckDetailResult;
import com.yuexun.beilunpatient.ui.inspect.bean.JtRmyyCheckResult;

import java.util.Map;

import retrofit.http.FieldMap;
import retrofit.http.FormUrlEncoded;
import retrofit.http.GET;
import retrofit.http.POST;
import retrofit.http.Query;
import rx.Observable;

/**
 * Created by chenss on 2018/7/10 0010.
 */

public interface InspectApi {

    //查询检查单列表
    @FormUrlEncoded
    @POST("inquireBlrmyyCheckPageList.json?")
    Observable<BaseEntity<JtRmyyCheckResult>> inquireBlrmyyCheckPageList(@FieldMap Map<String, String> praise);

    //查询检查单详情
    @FormUrlEncoded
    @POST("inquireBlrmyyCheckDetail.json?")
    Observable<BaseEntity<JtRmyyCheckDetailResult>> inquireBlrmyyCheckDetail(@FieldMap Map<String, String> praise);

    //查询检查单列表
    @FormUrlEncoded
    @POST("inquireCheckPageList.json?")
    Observable<BaseEntity<CheckRowSet>> inquireCheckPageList(@FieldMap Map<String, String> praise);

    //查询检查单详情
    @FormUrlEncoded
    @POST("inquireCheckDetail.json?")
    Observable<BaseEntity<CheckDtlRowSet>> inquireCheckDetail(@FieldMap Map<String, String> praise);

    //查询检查影像地址
    @GET("cIcheckInfoMobileWeb.json?")
    Observable<BaseEntity<String>> cIcheckInfoMobileWeb(@Query("sessionUuidPatient") String sessionUuidPatient,
                                                        @Query("pageSize") String pageSize,
                                                        @Query("pageIndex") String pageIndex,
                                                        @Query("accessionNumber") String accessionNumber,
                                                        @Query("OrganizationID") String OrganizationID,
                                                        @Query("ExamType") String ExamType);
}
